<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .img {
            /* 兼容不支持image-set的webview */
            background-image: url('001.jpg');

            background-image: image-set(url('002.jpg') 2x, url('003.jpg') 3x);

            width: 600px;
            height: 300px;
        }
    </style>
</head>

<body>
    <div class="img"></div>
</body>

</html>